package com.shopping.mall.base.redis;

public enum RedisHeader {
    TOKEN("token"),
    REFRESH_TOKEN("refreshToken"),
    MAIL_REGISTER_CODE("mail_register_code"),//注册邮箱验证码
    MAIL_BIND_CODE("mail_bind_code"),
    MAIL_UNBIND_CODE("mail_unbind_code"),
    MAIL_UPDATE_CODE("mail_update_code"),//修改邮箱验证码
    FORGET_PASSWORD_CODE("forget_password_code"),//忘记密码验证码
    ORDER_AUTO_FINISH("order_auto_finish"),//订单自动完成天数
    ROLE("role");//用户角色
    private final String header;

    RedisHeader(String header) {
        this.header = "shopping" + header;
    }

    public String getHeader() {
        return header;
    }
}
